// 图片路径
import Vue from 'vue'

const ctx = (process.env.NODE_ENV !== 'production' ? '/api' : 'http://127.0.0.1:8082')
const global = {
  ctx: ctx,
  showUrl: ctx + '/common/file/download?storeFileName=',
  imageShow: ctx + '/common/file/imageShow?storeFileName=',
  uploadUrl: ctx + '/common/file/uploadImg',
  privateUploadUrl: ctx + '/oss/ossfile/upload',
  uploadUEUrl: ctx + '/common/file/uploadUEImg',
  uploadKEUrl: ctx + '/common/file/uploadKEImg',
}


Vue.prototype.global = global
